#include <Includes.h>
#include <stdio.h>
#include "FreeRTOS.h"
#include "task.h"
#include "DRV_Usart.h"

void vApplicationStackOverflowHook (TaskHandle_t xTask, signed char *pcTaskName) {
    rprintf("***ERROR*** A stack overflow in task ");
    rprintf("[Stack] %s overflow\r\n",pcTaskName);
    rprintf(" has been detected.\r\n");
    OS_REBOOT();
}
